package com.wmx.main.text01;

/**
 * @author:wmx 2025-03-28 11:06
 * 1、功能:
 * 2、参数{
 * <p>
 * <p>
 * }
 **/
class Student {

    private String name;
    @StudentAnnotation(18)
    private int age;

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Student() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                '}';
    }
}
